import request from '@/utils/request'

// 查询操作日志列表
export function listOperateLog(query, dateRange) {
  return request({
    url: '/system/operate-log/list?dateRange=' + dateRange,
    method: 'get',
    params: query
  })
}

// 删除操作日志
export function delOperateLog(ids) {
  return request({
    url: '/system/operate-log/' + ids,
    method: 'delete'
  })
}
